package com.wzh.dao;
import com.wzh.pojo.Po.RoleType;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RoleDao {


	@Delete("delete from role_treemenu where rid=#{rid}")
	Integer DelRole(Integer rid);
	List<RoleType> show();

	Integer addRole(Integer rid, Integer[] tid);
}
